package com.cy.pj.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author zimin
 * @create 2019-07-08 11:01
 */
@Controller
@RequestMapping("/")
public class HelloController {
    @RequestMapping("doSayHello")
    @ResponseBody
    public String doSayHello() {
        return "hello spring";
    }
    @RequestMapping("doSayHelloUI")
    public String doSayHelloUI() {
        return "hello";
    }

}
